package io.github.lee.core.vm.err

import android.content.Context
import io.github.lee.core.ui.R


class ApplicationException(context: Context) :
    ViewModelException(1000, context.getString(R.string.ui_error_application_error))

class DataParseFailedException(context: Context) :
    ViewModelException(1001, context.getString(R.string.ui_error_data_parse_failed))

class NoMoreDataException(context: Context) :
    ViewModelException(1002, context.getString(R.string.ui_error_no_more_data))
class ResultDataNullException(context: Context) :
    ViewModelException(1003, context.getString(R.string.ui_error_result_data_null))